var $string={
	XPCOM: Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService),
	init:function(str){
		return $string.XPCOM.createBundle(str);
	},
	get:function(obj,key,arg){
		
		return obj.GetStringFromName(key);
	},
	replace:function(str,obj){
		var str = new String(str);
		for (var val in obj){
			str=str.replace(val,obj[val])
		}
		return str;
	},
}